<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="jquery-3.3.1.js"></script>
</head>
<body>
    <div>test text</div>
    <p class="default">p元素</p>
    <div class="default">div元素</div>
    <span class="default" id="span">ID为span的元素</span>
    <ul>
        <li>11311</li>
        <li id='t'>2222</li>
        <li>3333</li>
        <li>4444</li>
        <div>
            <li>div>li</li>
        </div>
    </ul>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#3F873B">
        <tr>
            <td height="27">4</td>
            <td>明日科技</td>
            <td width='10'></td>
            <td>2018-08-15 13:46:06</td>
            <td width= '20'></td>
        </tr>
    </table>
    <input type="text" id="testInput" name="test" value="ddd" />
    <input type="button" value="输入的值为" />
</body>
<script>
    $(document).ready(function()
    {
        $('#t').css('color','red')
        $("li:contains('3')").css('color','blue')
    }
)
</script>
</html>